﻿@{
    ViewData["Title"] = "管理中心";
}
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer

<style type="text/css">
    td {
        white-space: nowrap;
    }
</style>
<blockquote class="layui-elem-quote layui-bg-green">
    <div id="nowTime"></div>
</blockquote>
@*<div class="layui-row layui-col-space10 panel_box">
        <div class="panel layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg2">
            <a href="javascript:;" data-url="https://www.luxshare-ict.com/" target="_blank">
                <div class="panel_icon layui-bg-green">
                    <i class="layui-anim seraph layui-icon">&#xe64c;</i>
                </div>
                <div class="panel_word">
                    <span>立讯官网</span>
                    <cite>立讯精密官方网站</cite>
                </div>
            </a>
        </div>
        <div class="panel layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg2">
            <a href="javascript:;">
                <div class="panel_icon layui-bg-orange">
                    <i class="layui-anim seraph icon-icon10" data-icon="icon-icon10"></i>
                </div>
                <div class="panel_word userAll">
                    <span>100</span>
                    <em>用户总数</em>
                    <cite class="layui-hide">用户中心</cite>
                </div>
            </a>
        </div>
        <div class="panel layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg2">
            <a href="javascript:;" data-url="https://www.cnblogs.com/yilezhu/" target="_blank">
                <div class="panel_icon layui-bg-cyan">
                    <i class="layui-anim layui-icon" data-icon="&#xe857;">&#xe857;</i>
                </div>
                <div class="panel_word outIcons">
                    <span></span>
                    <em>博客链接</em>
                    <cite class="layui-hide">博客地址</cite>
                </div>
            </a>
        </div>

        <div class="panel layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg2">
            <a href="mailto:Gerald.Wang@luxshare-ict.com?subject=邮件标题&body=邮件内容">
                <div class="panel_icon layui-bg-blue">
                    <i class="layui-anim seraph layui-icon">&#xe63a;</i>
                </div>
                <div class="panel_word">
                    <span>联系我们</span>
                    <cite>发送邮件给我们</cite>
                </div>
            </a>
        </div>
        <div class="panel layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg2">
            <a href="javascript:;" data-url="https://www.luxshare-ict.com/" target="_blank">
                <div class="panel_icon layui-bg-black">
                    <i class="layui-anim seraph icon-github"></i>
                </div>
                <div class="panel_word">
                    <span>我的任务</span>
                    <cite>快速进入我的任务</cite>
                </div>
            </a>
        </div>
        <div class="panel layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg2">
            <a href="javascript:;">
                <div class="panel_icon layui-bg-red">
                    <i class="layui-anim seraph icon-clock"></i>
                </div>
                <div class="panel_word">
                    <span class="loginTime"></span>
                    <cite>上次登录时间</cite>
                </div>
            </a>
        </div>
    </div>*@
@*<blockquote class="layui-elem-quote main_btn">
        <p>本CMS系统基于ASP.NET Core2.2+AutoFac+AutoMap+ FluentValidation +Dapper+LayUI+Redis+SqlServer实现，并采用Layui以及LayuiCMS2.0的后台模板实现。layui开发文档地址：<a class="layui-btn layui-btn-xs layui-btn-danger" target="_blank" href="http://www.layui.com/doc">layui文档</a>　.NET Core实战项目交流千人群：<a target="_blank" href="//shang.qq.com/wpa/qunwpa?idkey=e348b892a6e24b96c0f50f9fb26941af414b496665cf1b9d8d509155814b7a7b"><img border="0" src="//pub.idqqimg.com/wpa/images/group.png" alt=".NET Core项目实战交流群" title=".NET Core项目实战交流群"></a>（添加时请注明来源，如：“博客园”、“github”等）</p>
        <p class="layui-red">郑重提示：本CMS系统仅作为ASP.NET Core实战项目学习交流免费使用【强烈要求付费或者捐赠的我也就默默的接受了😄】，如需用作商业用途，也是可以滴，但出现任何问题，与作者无关！【另不管以何种形式获取的源码，请勿进行出售或者上传到任何源码网站，否则将追究相应的责任】</p>
        <p>注：本后台模版采用的是开源的LayuiCMS2.0，<a class="layui-btn layui-btn-xs layui-btn-danger" target="_blank" href="https://gitee.com/layuicms/layuicms2.0">码云</a>，未引入任何第三方组件，单纯的layui+js实现的各种功能。。</p>
    </blockquote>*@
<div class="layui-row layui-col-space10">
    <div class="layui-col-lg6 layui-col-md12">
        <blockquote class="layui-elem-quote title">@Localizer["SystemBasicPara"]</blockquote>
        <table class="layui-table magt0">
            <colgroup>
                <col width="150">
                <col>
            </colgroup>
            <tbody>
                <tr>
                    <td>@Localizer["LoginCount"]</td>
                    <td class="LoginCount">@ViewData["LoginCount"]</td>
                </tr>
                <tr>
                    <td>@Localizer["LastLoginIP"]</td>
                    <td class="LoginLastIp">@ViewData["LoginLastIp"]</td>
                </tr>
                <tr>
                    <td>@Localizer["LastLoginTime"]</td>
                    <td class="LoginLastTime">@ViewData["LoginLastTime"]</td>
                </tr>
            </tbody>
        </table>
    </div>
    <div class="layui-col-lg6 layui-col-md12">
        <blockquote class="layui-elem-quote title">@Localizer["Module"]</blockquote>
        <div class="layui-elem-quote layui-quote-nm history_box magb0">
            <ul class="layui-timeline">
                <li class="layui-timeline-item">
                    <i class="layui-icon layui-timeline-axis">&#xe756;</i>
                    <div class="layui-timeline-content layui-text">
                        <div class="layui-timeline-title">
                            <h3 class="layui-inline">@Localizer["MainPageMsgTitle"]<span class="layui-red"> LViewLMS 1.0 </span>@Localizer["Release"]</h3>
                            <span class="layui-badge-rim">2020-09-22</span>
                        </div>
                        <ul>
                            <li>
                                <blockquote class="layui-elem-quote title">@Localizer["TimeLine1"]</blockquote>
                            </li>
                            <li class="layui-red layedit-tool-help">@Localizer["Note1"]</li>
                            @*<li>框架采用最新的ASP.NET Core3.1进行开发，进行源码学习前还请到我的博客查看系列教程对Asp.NET Core进行相应的学习</li>
                                <li class="layui-blue">由于本人对设计和色差之类的不太感冒，所以后台模板采用开源的LayCms2.0版进行开发</li>*@
                            <li>@Localizer["Note2"]</li>
                        </ul>
                    </div>
                </li>

            </ul>
        </div>
    </div>
</div>
@*<div class="layui-row layui-col-space10">
        <div class="text-center">
            <h1 class="display-4">Welcome</h1>
            <div class="container">
                <div class="row">
                    <div class="col" id="left" style="width: 400px;height:400px;">

                    </div>
                    <div class="col" id="right" style="width: 400px;height:400px;">

                    </div>
                </div>
                <div class="row">
                    <div class="col" id="bottom" style="width: 800px;height:400px;">

                    </div>
                </div>
            </div>
            <script type="text/javascript">
                var myleftChart = echarts.init(document.getElementById('left'));
                var myrightChart = echarts.init(document.getElementById('right'));
                var mybottomChart = echarts.init(document.getElementById('bottom'));

                var leftoption = {
                    title: {
                        text: '生产情况'
                    },
                    legend: {
                        data: ['正常', '异常']
                    },
                    series: [{
                        type: 'pie',
                        data: [{ name: '正常', value: 1080 }, { name: '异常', value: 220 }],
                        label:
                        {
                            formatter: '{b}:{c}\n{d}%'
                        }
                    }]
                };

                var rightoption = {
                    title: {
                        text: '产品型号比例'
                    },
                    legend: {
                        data: ['型号A', '型号B', '型号C', '型号D']
                    },
                    series: [{
                        type: 'pie',
                        data: [{ name: '型号A', value: 380 },
                        { name: '型号B', value: 100 },
                        { name: '型号C', value: 80 },
                        { name: '型号D', value: 400 }],
                        label:
                        {
                            formatter: '{b}:{c}\n{d}%'
                        }
                    }]
                };

                var bottomoption = {
                    title: {
                        text: 'ECharts 入门示例'
                    },
                    tooltip: {},
                    legend: {
                        data: ['销量']
                    },
                    xAxis: {
                        data: ["衬衫", "羊毛衫", "雪纺衫", "裤子", "高跟鞋", "袜子"]
                    },
                    yAxis: {},
                    series: [{
                        name: '销量',
                        type: 'bar',
                        data: [5, 20, 36, 10, 10, 20]
                    }]
                };

                myleftChart.setOption(leftoption);
                myrightChart.setOption(rightoption);
                mybottomChart.setOption(bottomoption);
            </script>
        </div>
    </div>*@
@section Scripts{
    <script type="text/javascript" src="~/layui/layui.js"></script>
    <script type="text/javascript" src="~/js/main.js" id="mainjs" data="JsMsg1=@Localizer["JsMsg1"]&JsMsg2=@Localizer["JsMsg2"]"></script>
}
